#include "BulletCollision/Gimpact/gim_bitset.h"
#ifdef __cplusplus
extern "C" {
#endif
gim_bitset* bullet_Newgim_bitset(){
	gim_bitset* wrap_out = new gim_bitset();
	return wrap_out;
}

gim_bitset* bullet_Newgim_bitset1(unsigned int bits_count){
	unsigned int c_arg_bits_count=bits_count;
	gim_bitset* wrap_out = new gim_bitset(c_arg_bits_count);
	return wrap_out;
}

void bullet_gim_bitset_clear(gim_bitset* c_this,unsigned int bit_index){
	unsigned int c_arg_bit_index=bit_index;
	c_this->clear(c_arg_bit_index);
}

void bullet_gim_bitset_clear_all(gim_bitset* c_this){
	c_this->clear_all();
}

char bullet_gim_bitset_get(gim_bitset* c_this,unsigned int bit_index){
	unsigned int c_arg_bit_index=bit_index;
	char c_out = c_this->get(c_arg_bit_index);
	char wrap_out = (c_out);
	return wrap_out;
}

bool bullet_gim_bitset_resize(gim_bitset* c_this,unsigned int newsize){
	unsigned int c_arg_newsize=newsize;
	bool c_out = c_this->resize(c_arg_newsize);
	bool wrap_out = (c_out);
	return wrap_out;
}

void bullet_gim_bitset_set(gim_bitset* c_this,unsigned int bit_index){
	unsigned int c_arg_bit_index=bit_index;
	c_this->set(c_arg_bit_index);
}

void bullet_gim_bitset_set_all(gim_bitset* c_this){
	c_this->set_all();
}

unsigned int bullet_gim_bitset_size(gim_bitset* c_this){
	unsigned int c_out = c_this->size();
	unsigned int wrap_out = (c_out);
	return wrap_out;
}

#ifdef __cplusplus
}
#endif
